package com.fancy.service.impl;

import com.fancy.dao.AreaDao;
import com.fancy.pojo.category.Area;
import com.fancy.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaServiceImpl implements AreaService {
    @Autowired
    AreaDao areaDao;
    @Override
    public List<Area> selectAllArea() {
        return areaDao.selectAllArea();
    }
}
